package 慕课网;

import java.util.Scanner;

public class Testss {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        books one=new books();
        books tow=new books();
        System.out.println("图书馆价格最低10元");
        String book=in.nextLine();
        String booker=in.nextLine();
        String press=in.nextLine();
        double price=in.nextDouble();
        one.setBookName(book);
        one.setBooker(booker);
        one.setPress(press);
        one.setPrice(price);
        book=in.next();
        booker=in.next();
        press=in.next();
        price=in.nextDouble();
        tow.setBookName(book);
        tow.setBooker(booker);
        tow.setPress(press);
        tow.setPrice(price);
        System.out.println(one.getBookName());
        System.out.println(one.getBooker());
        System.out.println(one.getPress());
        System.out.println("价格："+one.getPrice()+"元");
        System.out.println("=========================");
        System.out.println(tow.getBookName());
        System.out.println(tow.getBooker());
        System.out.println(tow.getPress());
        System.out.println("价格："+tow.getPrice()+"元");
    }
}
